<?php $this->load->view('_header') ?>

<script language="javascript" type="text/javascript" src="<?php echo site_url('js/formValidator_min.js')?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo site_url('js/formValidatorRegex.js')?>"></script>
<div class="Main">
<div id="flightleft">
	<?php $this->load->view('leftmenu') ?>
</div>

<div id="flightright" style="height:450px;padding-top:20px">
	
	<span class="tiptitle"><?=lang("ModifyPassword")?></span>
	<?php
	echo form_open("order/doModifypassword",array("id" =>"formPassword"));
	?>
	<table >
		<tr height=25 >
			<td width=205 align=right ><?=lang("Currentpassword")?>:</td>
			<td><input type=password id="txCurpassword" name="CurPassword" value="" class="txd"/></td>
			<td style="padding-left:10px"><div id="txCurpasswordTip"></div></td>
		</tr>	
		<tr height=25 >
			<td align=right><?=lang("Newpassword")?>:</td>
			<td><input type=password id="txNewpassword" name="NewPassword" value="" class="txd"/></td>
			<td style="padding-left:10px"><div id="txNewpasswordTip"></div></td>
		</tr>	
		<tr height=25 >
			<td align=right><?=lang("Confirmnewpassword")?>:</td>
			<td><input type=password id="txConfirmpassword" name="ConfirmPassword" value="" class="txd"/></td>
			<td style="padding-left:10px"><div id="txConfirmpasswordTip"></div></td>
		</tr>
		
		<tr height=25 >
			<td></td>
			<td>
				<input type="submit" value="save"  />
				<input type="reset" value="reset" />
			</td>			
		</tr>	
	</table>
	<?php
	echo form_close();
	?>
</div>
<div class="clear"></div>	
</div>
<script language="javascript">
	
	
	$.formValidator.initConfig({validatorgroup:"2",formid:"forminfo",onerror:function(msg){alert(msg)}});
	$("#txusername").formValidator({validatorgroup:"2",onshow:"",onfocus:"",oncorrect:""}).inputValidator({min:1,max:100,onerror:"the user name is illegal, please confirm"});	
	
</script>
<?php $this->load->view('_footer') ?>